﻿using YamlDotNet.RepresentationModel;
using YamlDotNet.Serialization;

namespace AppMachine.Domain.LogicCom.AppComs;

/// <summary>
/// 应用组件配置
/// </summary>
public class ComSwitchRWParam {
    /// <summary>
    /// 输出开关控制的器件需要延时等待执行完成的时间(毫秒)
    /// 如气缸、真空等有一个缓冲过程，需要等待稳定后，执行检查输出的执行结果
    /// </summary>
    public int? DelayMiliSecs { get; set; } = 0;
    /// <summary>
    /// 输出动作前后是否探测 暂停信号
    /// </summary>
    public bool? IsPollingPaused { get; set; }
    /// <summary>
    /// 是否翻转应用
    /// </summary>
    public bool IsReversed { get; set; }
    /// <summary>
    /// 是否禁用
    /// </summary>
    public bool IsDisbaled { get; set; }
}
